package com.fc.mall.portal.dto;

import com.fc.mall.model.OmsOrderGroupBuyItem;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by sunny on 2019/8/20.
 */
@Data
public class OmsOrderGroupBuyDto  {

    private Long id;

    /**
     * 团购信息
     *
     * @mbggenerated
     */
    private Long productGroupId;

    /**
     * 产品信息
     *
     * @mbggenerated
     */
    private Long productId;

    /**
     * 产品名称
     *
     * @mbggenerated
     */
    private String productName;

    /**
     * 产品省略图
     */
    private String pic;

    /**
     * 商品信息
     *
     * @mbggenerated
     */
    private Long skuId;

    /**
     * 商品价格
     *
     * @mbggenerated
     */
    private BigDecimal skuPrice;

    /**
     * 团购价格
     *
     * @mbggenerated
     */
    private BigDecimal groupPrice;

    /**
     * 团购信息
     *
     * @mbggenerated
     */
    private Long ownerId;

    /**
     * 昵称
     *
     * @mbggenerated
     */
    private String nickname;

    /**
     * 头像
     *
     * @mbggenerated
     */
    private String icon;

    /**
     * 状态：1 进行中，
     *
     * @mbggenerated
     */
    private int status;

    /**
     * 创建时间
     *
     * @mbggenerated
     */
    private Integer createTime;

    private Integer expiredTime;

    private String createTimeTxt;

    private String expiredTimeTxt;
    /**
     * 已参团人数
     */
    private Integer memberCount;

    private Long currentMemberOrderId;

    private Long currentMemberId;

    private boolean hasJoinGroup;

    private List<OmsOrderGroupBuyItem> groupBuyItemList = new ArrayList<>();

}
